Skip to content

handle socket EOF and more gracefully handle panics in Python bindings#29

Merged
bet4it merged 3 commits intobet4it:masterfrom
williballenthin:fix/python-status-codes
Mar 3, 2026
Merged

handle socket EOF and more gracefully handle panics in Python bindings#29
bet4it merged 3 commits intobet4it:masterfrom
williballenthin:fix/python-status-codes

Conversation

@williballenthin
Copy link
Copy Markdown
Contributor

closes #27
closes #28

changes:

#include <stdint.h>

void udbserver(void* handle, uint16_t port, uint64_t start_addr);
int32_t udbserver(void* handle, uint16_t port, uint64_t start_addr);
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

breaking change, sorry

@bet4it bet4it merged commit 4112947 into bet4it:master Mar 3, 2026
8 checks passed
@bet4it
Copy link
Copy Markdown
Owner

bet4it commented Mar 3, 2026

This is a fantastic addition. Thanks a lot for taking the time to do this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnexpectedEof leads to error rather than clean disconnect python bindings: panics kill the host process

2 participants